package com.misic.wed;

import com.misic.service.SwiperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/swiper")
public class SwiperController {
    @Autowired
    private SwiperService swiperService;

    /**
     * 查询所有歌曲
     */
    @GetMapping(value = "/allSwiper")
    public Object allSwiper(){
        return swiperService.allSwiper();
    }
}
